/**
 * @author lulongwen
 * Date: 2023-08-30 22:38
 * Description: Ellipse，椭圆
 */

export function Ellipse(props: any) {
  const { width , height } = props;

  const cx = width / 2;
  const cy = height / 2;

  return (
    <svg
      xmlns="http://www.w3.org/2000/svg"
      width={width}
      height={height}
      className='block'
    >
      <ellipse
        cx={cx} // 75
        cy={cy} // 25
        rx={cx} // 75
        ry={cy} // 25
        fill="#ff0072"
        strokeWidth="0"
        stroke="#fff"
      />
    </svg>
  );
}
